import Vue from "vue";
import vendors from "@/vendors";
import App from "./App.vue";
import "./registerServiceWorker";
import "./event-bus"; // load events
import "./global/index";

import VideoPlayer from "vue-video-player";
// tslint:disable-next-line:no-var-requires
require("video.js/dist/video-js.css");
// tslint:disable-next-line:no-var-requires
require("vue-video-player/src/custom-theme.css");

Vue.use(VideoPlayer);

const { router, store, i18n } = vendors;
Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount("#app");
